import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { VipController } from './vip.controller';
import { VipService } from './vip.service';
import { User } from '../users/users.entity';
import { VipPackage } from './vip-packages.entity';
import { UserVip } from './user-vip.entity';
import { DiamondTransaction } from './diamond-transaction.entity';
import { PaypalModule } from '../paypal/paypal.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([User, VipPackage, UserVip, DiamondTransaction]),
    PaypalModule,
  ],
  controllers: [VipController],
  providers: [VipService],
  exports: [VipService],
})
export class VipModule {}
